Average sentence length |
---|
19.2258 |
sentence length | percentage |
---|---|
3 | 0.1000 |
4 | 0.4500 |
5 | 0.8900 |
6 | 1.4600 |
7 | 2.4900 |
8 | 2.8600 |
9 | 3.5700 |
10 | 4.1500 |
11 | 4.0700 |
12 | 4.5200 |
13 | 4.2800 |
14 | 4.9200 |
15 | 5.0700 |
16 | 5.1300 |
17 | 4.3200 |
18 | 4.2200 |
19 | 4.1400 |
20 | 3.7600 |
21 | 3.6600 |
22 | 3.7700 |
23 | 3.4800 |
24 | 2.9700 |
25 | 2.6900 |
26 | 2.6600 |
27 | 2.4700 |
28 | 2.1000 |
29 | 1.9900 |
30 | 2.0000 |
31 | 1.7000 |
32 | 1.5800 |
33 | 1.1600 |
34 | 1.3700 |
35 | 1.0800 |
36 | 0.9800 |
37 | 0.8100 |
38 | 0.7900 |
39 | 0.5700 |
40 | 0.5500 |
41 | 0.2900 |
42 | 0.3500 |
43 | 0.2400 |
44 | 0.1700 |
45 | 0.0500 |
46 | 0.0400 |
47 | 0.0600 |
48 | 0.0200 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters